#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Create by zhang
# Create on 2022/6/29 21:57
import os
from typing import List

from domain.report.common.period_enum import PeriodEnum
from domain.report.repository.impl.report_pdf.report_pdf_repository.local_system.report_pdf_system_repository import get_pdf as download_pdf
from config.config import config
report_pdf_base = config.get("data", "report_pdf")


def get_pdf(stock_code:str, year:int, period:PeriodEnum=PeriodEnum.all) -> List[str]:
    return download_pdf(stock_code, year, period)
